<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/12/12
  Time: 15:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
    <style>
        #msg{
            color: red;
        }
    </style>
</head>
<body>
<%--
 登录：用户名和密码
 如果正确-->跳转到index，此页面需要显示登录的用户名
 如果失败-->login,但显示“用户名或密码错误”
--%>
   <div id="msg">${message}</div>
    <form action="/user/login2" method="post">
        用户名： <input type="text" name="uname" value="">
        <br/>
        密码： <input type="password" name="password" value="">
        <br/>
        <input type="submit" value="提交">
    </form>
</body>
</html>
